import request from '@/utils/request'
import type { IRootInter } from '@/model/api/rootInter'
import { IGetSystemInfo } from '@/model/api/dashboard'

export function getSystemInfo () {
  return request<IRootInter<IGetSystemInfo>>({
    method: 'get',
    url: '/api-energy/sysInfo/getInfo'
  })
}
